home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1191
/
1191.xpi
/
chrome
/
reminderfox.jar
/
content
/
reminderfox
/
alarms
/
quickAlarmDialog.xul
< prev
Wrap
Extensible Markup Language
|
2009-10-26
|
6KB
|
137 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://reminderfox/skin/reminder.css" type="text/css"?>
<?xul-overlay href="chrome://reminderfox/content/datepicker/datepicker-overlay.xul"?>
<?xul-overlay href="chrome://reminderfox/content/editing/eventEntryOverlay.xul"?>
<!-- DTD Files -->
<!DOCTYPE window
[
<!ENTITY % dtd2 SYSTEM "chrome://reminderfox/locale/reminderfox.dtd" > %dtd2;
]>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="reminderFox-quickAlarmDialog"
persist="screenX screenY"
onfocus="reminderFox_snoozeTimeChanged()"
onload="loadAlarmOptions()"
title="&rf.quickalarm.dialog.title;">
<stringbundleset id="stringbundleset">
<stringbundle id="reminderFox-bundle" src="chrome://reminderfox/locale/reminderfox.properties"/>
</stringbundleset>
<script type="application/x-javascript" src="chrome://reminderfox/content/alarms/quickAlarmDialog.js" />
<script type="application/x-javascript" src="chrome://reminderfox/content/reminderFoxCore.js" />
<script type="application/x-javascript" src="chrome://reminderfox/content/reminderFox.js" />
<script type="application/x-javascript" src="chrome://reminderfox/content/editing/eventEntry.js" />
<script type="application/x-javascript" src="chrome://reminderfox/content/datepicker/datepicker.js"/>
<script type="application/x-javascript" src="chrome://reminderfox/content/addReminderDialog.js"/>
<keyset id="reminderFoxOptions-keys">
<key keycode="VK_ESCAPE" oncommand="reminderFox_closeAlarm();"/>
<key keycode="VK_ENTER" oncommand="setAlarm();"/>
<key keycode="VK_RETURN" oncommand="setAlarm();"/>
</keyset>
<vbox id="reminderFoxVbox" flex="1">
<hbox align="center" >
<label id="alarmDescLabel" value="&rf.add.addTodo.description.label;" />
<textbox width="305px" flex="1" id="newAlarmText" />
<toolbarbutton id="notesToggle" type="checkbox" oncommand="reminderFox_toggleNotes();" tabindex="2" autoCheck="false" />
</hbox>
<vbox orient="vertical" flex="2" >
<textbox width="305px" flex="1" id="notesText" multiline="true" rows="4" />
</vbox>
<hbox id="alertGroup" align="center" >
<label id="reminderFox-alert" value="&rf.quickalarm.notify.label;" />
<menulist id="reminderFox-alertTime" editable="true" oninput="reminderFox_updateSnoozeTimeDate()" oncommand="reminderFox_updateSnoozeTimeDate()" >
<menupopup>
<menuitem label="1" />
<menuitem label="5" />
<menuitem label="10" />
<menuitem label="15" selected="true" />
<menuitem label="30" />
<menuitem label="60" />
</menupopup>
</menulist>
<menulist id="reminderFox-alertTimeUnits" oncommand="reminderFox_updateSnoozeTimeDate()" >
<menupopup>
<menuitem label="&rf.reminderoptions.notify.minutes.label;" />
<menuitem label="&rf.reminderoptions.notify.hours.label;" />
<menuitem label="&rf.reminderoptions.notify.days.label;" />
</menupopup>
</menulist>
<label id="reminderFox-alertInfo" value="&rf.quickalarm.notify.fromnow;" />
<!-- Calendar date-input and calendar popup button -->
<popup onpopupshowing="reminderfox_showCalendarQA();" id="oe-date-picker-popup" onpopuphidden="popupClosedQA(this);">
<vbox id="oe-date-picker-overlay-box" flex="1"/>
<hbox>
<hbox id="timeEntry" />
<spacer class="reminderFox-btnspacer" flex="1"/>
<button label="&rf.ok;" id="okButton" default="true" oncommand="popupOk(this); " />
</hbox>
</popup>
<toolbarbutton id="datepickerToggle" onclick="onclickFunc(event, false)" position="after_start" tooltiptext="&rf.reminderoptions.tooltip.selectdate;" />
</hbox>
<hbox id="reminderFox-options-footer" class="reminderFox-footer3" align="center"/>
<hbox id="reminderFox-options-footer" class="reminderFox-footer2" align="center"/>
<vbox id="snoozeGroup" >
<hbox align="center" >
<button id="snoozeButton" label="&rf.alarm.button.snooze;" oncommand="setAlarm();" />
<menulist id="reminderFox-snoozeTime" editable="true" oninput="reminderFox_snoozeTimeChanged();" oncommand="reminderFox_snoozeTimeChanged();" >
<menupopup>
<menuitem label="1" />
<menuitem label="5" />
<menuitem label="10" />
<menuitem label="15" />
<menuitem label="30" />
<menuitem label="60" />
</menupopup>
</menulist>
<menulist id="reminderFox-snoozeTimeUnits" oncommand="reminderFox_updateSnoozeTimeDate()" >
<menupopup>
<menuitem label="&rf.reminderoptions.notify.minutes.label;" />
<menuitem label="&rf.reminderoptions.notify.hours.label;" />
<menuitem label="&rf.reminderoptions.notify.days.label;" />
</menupopup>
</menulist>
<spacer id="entry-spacer.i" width="30px" />
<spacer class="reminderFox-btnspacer" flex="1"/>
<button label="&rf.ok;" id="okButton" default="true" oncommand="reminderFox_closeAlarm();" />
</hbox>
<hbox align="center" >
<label value="&rf.alarm.snoozeUntil.label;" disabled="true"/>
<label id="snoozeUntilTime" align="right" disabled="true" />
</hbox>
</vbox>
<vbox id="alertButtonGroup">
<hbox align="center" >
<spacer class="reminderFox-btnspacer" flex="1"/>
<button label="&rf.ok;" default="true" oncommand="setAlarm()" />
<button label="&rf.cancel;" oncommand="window.close();" />
</hbox>
<hbox>
<label value="&rf.quickalarm.alarmAt.label;" disabled="true"/>
<label id="alarmAtTime" align="right" disabled="true" />
</hbox>
</vbox>
</vbox>
</window>